package com.app.service;

import com.app.model.GoodsModel;
import com.app.model.SystemModel;
import com.app.model.UserModel;
import com.app.vo.GoodsVo;

import java.util.List;

public interface GoodsService {
    List<SystemModel> selectTypeList();

    GoodsVo selectGoodsList(Integer type, String title, Integer page, Integer limit,Integer villageId);

    GoodsModel selectContentById(Integer id, UserModel user);

    GoodsModel selectContentById(Integer id);


    void insertGoodsExchange(UserModel user, Integer id, Integer num);
}
